<!-- This template renders a drop down after an structure is selected -->

 <g:select name="ddligands"  required="true"                
          from="${ligands.sort{it.toString()}}"  
          noSelection="['':'Choose a Ligand']"
          optionKey="id"           			 	       
          />         
